export const users = [
    {
        name:"visitor",
        roleId:"visitor",
        password:"visitor"
    },
    {
        name:"master",
        roleId:"master",
        password:"master"
    },
    {
        name:"admin",
        roleId:"admin",
        password:"admin"
    }
]

// 模拟服务端角色对应菜单信息--超级管理员
export const menuTreeData = [
    {
        id:4,
        parentId:0,
        name:'DashBoard',
        path:'/dashboard',
        icon:'home-filled',
        children:[]
    },
    {
        id:1,
        parentId:0,
        name:'Article',
        path:'/article',
        icon:'Notebook',
        children:[
            {
                id:11,
                parentId:1,
                name:'ArticleCategory',
                path:'/article/category',
                icon:'Postcard',
            },
            {
                id:12,
                parentId:1,
                name:'ArticleList',
                path:'/article/list',
                icon:'Memo',
            },
            {
                id:13,
                parentId:1,
                name:'ArticleComment',
                path:'/article/comment',
                icon:'ChatLineRound',
            },
            {
                id:14,
                parentId:1,
                name:'ArticleTemplate',
                path:'/article/template',
                icon:'CreditCard',
            },
            {
                id:15,
                parentId:1,
                name:'ArticleTagList',
                path:'/article/tag',
                icon:'CollectionTag',
            },
            {
                id:16,
                parentId:1,
                name:'CommentSetting',
                path:'/article/commentSetting',
                icon:'ChatLineRound',
            }
        ]
    },
    {
        id:3,
        parentId:0,
        name:'Advertisement',
        path:'/advert',
        icon:'Postcard',
        children:[
            {
                id:41,
                parentId:1,
                name:'Advertisementor',
                path:'/advert/member',
                icon:'User',
            },
            {
                id:42,
                parentId:1,
                name:'AdvertisementList',
                path:'/advert/list',
                icon:'CollectionTag',
            }
        ]
    },
    {
        id:2,
        parentId:0,
        name:'Sys',
        path:'/sys',
        icon:'setting',
        children:[
            {
                id:21,
                parentId:2,
                name:'SysUser',
                path:'/sys/users',
                icon:'users-filled',
            },
            {
                id:22,
                parentId:2,
                name:'SysMenu',
                path:'/sys/menu',
                icon:'Memo',
            },
            {
                id:23,
                parentId:2,
                name:'SysRole',
                path:'/sys/role',
                icon:'users-filled',
            },
            {
                id:24,
                parentId:2,
                name:'SysPermission',
                path:'/sys/permission',
                icon:'Film',
            }
        ]
    },
    {
        id:4,
        parentId:0,
        name:'Logs',
        path:'/logs',
        icon:'DataAnalysis',
        children:[
            {
                id:42,
                parentId:1,
                name:'LogsOperation',
                path:'/logs/operation',
                icon:'SetUp',
            }
        ]
    },
    {
        id:5,
        parentId:0,
        name:'Platform',
        path:'/platform',
        icon:'Connection',
        children:[
            {
                id:52,
                parentId:8,
                name:'PlatformSystem',
                path:'/platform/system',
                icon:'DataAnalysis',
            },
            {
                id:53,
                parentId:8,
                name:'PlatformUser',
                path:'/platform/users',
                icon:'UserFilled',
            }
        ]
    }
]

